package com.ty.dao;

import java.util.List;

import cn.smart.core.annotation.PageX;
import com.ty.entity.EmployeeQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import com.ty.entity.Employee;

 /**
 * 员工表;(212_employee)表数据库访问层
 * @author : heimi
 * @date : 2025-6-11
 */
@Mapper
public interface EmployeeDao{
    @PageX
    List<Employee> select(EmployeeQuery query);
    Integer insert(Employee employee);
    Integer insertBatch(List<Employee> employees);
    Integer update(Employee employee);
    Integer delete(Integer id);
}